﻿using System;
using System.Collections.Generic;
using System.Text;
using YSC_Core.BLL.Domain.Models;

namespace YSC_Core.BLL.Domain.Entity
{
    public class YscUser : BaseEntity
    {
        public string UserName { get; set; }
        public string Password { get; set; }
        public string Phone { get; set; }
        public int Sex { get; set; }
        public DateTime? Age { get; set; }
        public string AreaUnCode { get; set; }
        public string HeadPortraitUrl { get; set; }
        public string Introduce { get; set; }

        public string HeadPortraitImageUrl => !string.IsNullOrEmpty(HeadPortraitUrl) && HeadPortraitUrl.Contains("Pictures") ? "https://fishopeni.cnfm.com.cn:8095" + HeadPortraitUrl : HeadPortraitUrl;
        public string Background { get; set; }
        public bool IsAttest { get; set; }
        public string AttestType { get; set; }
        public string Remarks { get; set; }
        public string OpenId { get; set; }
    }
}
